package com.vueperson.vueperson.services;

public class Run02 implements Runnable{
    final FactoryCopy factory=new FactoryCopy();
    @Override
    public void run() {
        method();
    }

    public  void method(){
        try{
            Thread.sleep(2000);
        }catch (Exception e){
            e.printStackTrace();
        }
        for (int i = 0; i <12 ; i++) {

            factory.createProduct(i);
        }
    }

}
